import req from './0_http'

const headers = { 'Content-Type': 'multipart/form-data' }

export const uploadImage = (data: FormData): Promise<{ path: string }> =>
  req.post('/Upload/UploadFile', data, { headers })
